<template>
  <div>
    <el-tag v-if="activeStatus == 2" type="info">未开始</el-tag>
    <el-tag v-else-if="activeStatus == 3" type="info">已结束</el-tag>
    <el-tag v-else-if="activeStatus == 1" type="success">进行中</el-tag>
    <el-tag v-else>暂停活动</el-tag>
  </div>
</template>
<script>
export default {
  props: {
    row: {
      type: Object,
      default: _ => {
        return {};
      }
    }
  },
  computed: {
    activeStatus() {
      return this.row.active_status;
    }
  }
}
</script>
